package com.eshop.we.user.api;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.eshop.we.user.dto.UserBooksDto;
import com.eshop.we.user.dto.UserInfoDto;
import com.eshop.we.user.entity.User;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author anonymity
 * @since 2018-07-06
 */
public interface UserService extends IService<User> {

       UserBooksDto selectUserBooks(Integer userId);

       Integer updateByOpenId(User user);

       Page selectUserPage(Page<UserInfoDto> page, String name, String mobile,String schoolName, String startDate, String endDate)throws  Exception;

       UserInfoDto getUserInfo(Integer userId);
}
